#ifndef _MASTERSERVERSESSION_H_
#define _MASTERSERVERSESSION_H_

#include "ServerSession.h"

class MasterServerSession : public ServerSession
{
public:
	MasterServerSession();
	~MasterServerSession();

	eSERVER_TYPE			GetServerType() { return MASTER_SERVER;	}

	virtual VOID			Init();
	virtual VOID			Release();
	virtual VOID			Update();

private:
	VOID					OnConnect( BOOL bSuccess, DWORD dwSessionIndex );
	VOID					OnDisconnect();
	VOID					OnRecv( BYTE * pMsg, WORD wSize );

private:
	std::string				m_strConnectIP;
	WORD					m_wConnectPort;
};

#endif //_MASTERSERVERSESSION_H_